/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ceair.flight.refund.dto.audit;

import javax.validation.constraints.Min;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 * @author youguilin
 */
public class SegReq implements Serializable {

    private static final long serialVersionUID = 7882817129754685220L;

    /**
     * 航段id
     */
    @Min(value = 1, message = "Invalid segment id")
    private long segId;

    /**
     * 手续费百分比或定额
     */
    private BigDecimal realRefundRule;

    /**
     * 退票手续费
     */
    private BigDecimal refundFee;

    /**
     * 票面应退金额(不含税)
     */
    private BigDecimal refundAmount;

    /**
     * 票面应退积分(国内航线票适应)
     */
    private Long refundPoints;

    /**
     * 剩余票面价(在含有促销码的订单)
     */
    private BigDecimal leftTktPrice;
    /**
     * 应退的票面差额
     */
    private BigDecimal fcnyDiffRes;

    public BigDecimal getFcnyDiffRes() {
		return fcnyDiffRes;
	}

	public void setFcnyDiffRes(BigDecimal fcnyDiffRes) {
		this.fcnyDiffRes = fcnyDiffRes;
	}

	public long getSegId() {
        return segId;
    }

    public void setSegId(long segId) {
        this.segId = segId;
    }

    public BigDecimal getLeftTktPrice() {
        return leftTktPrice;
    }

    public void setLeftTktPrice(BigDecimal leftTktPrice) {
        this.leftTktPrice = leftTktPrice;
    }
    
    public BigDecimal getRealRefundRule() {
        return realRefundRule;
    }

    public void setRealRefundRule(BigDecimal realRefundRule) {
        this.realRefundRule = realRefundRule;
    }

    public BigDecimal getRefundFee() {
        return refundFee;
    }

    public void setRefundFee(BigDecimal refundFee) {
        this.refundFee = refundFee;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public Long getRefundPoints() {
        return refundPoints;
    }

    public void setRefundPoints(Long refundPoints) {
        this.refundPoints = refundPoints;
    }

    @Override
    public String toString() {
        return "SegReq{" + "segId=" + segId + ", realRefundRule=" + realRefundRule + ", refundFee=" + refundFee + ", refundAmount=" + refundAmount + ", refundPoints=" + refundPoints + '}';
    }

}
